/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 7/10/13
 * Time: 11:15 AM
 * To change this template use File | Settings | File Templates.
 */
public class Movie extends LibraryItem{
    private String year;
    private String director;
    private String rating;

    Movie(String tit, String yrs, String dir, String rate){
        super(tit);
        year=yrs;
        director = dir;
        rating=rate;
    }

    Movie(String tit, String yrs, String dir){
        super(tit);
        year=yrs;
        director = dir;
        rating="N/A";
    }

    public String toString(){
        return name + "\t" + year + "\t" + director + "\t" + rating;
    }

}
